import java.util.Scanner;

public class SecondQuestion {
    public static void main(String[] args) {
        Scanner  input = new Scanner(System.in);
        double  sum = 0;
        for (int i = 0; i <5 ; i++) {
            System.out.println("请输入周"+(i+1)+"学习时间：");
            int time = input.nextInt();
            System.out.print(time);
           sum+=time;

        }
        System.out.println("平均学习时间为："+sum/5+"小时");
    }
}
